<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <link rel="stylesheet" href="colorbox.css">
    <script src="jquery-1.8.3.js"></script>
    <script src="jquery.colorbox.js"></script>
    <script>
        jQuery(document).ready(function () {
            jQuery('a.gallery').colorbox({
                transition: 'fade',
                // opacity: 0.5,
                // rel: 'group1',
                slideshow: true,
                width: '60%',
                height: '40%',
            });
        });
    </script>
</head>

<body>
    <a rel="collectoin" class='gallery' href='img10.jpg'>Photo_1</a>
    <a rel="collectoin" class='gallery' href='img11.jpg'>Photo_2</a>
    <a rel="collectoin" class='gallery' href='img12.jpg'>Photo_3</a>
</body>

</html>